package com.java.service;

import java.util.List;

import com.java.pojo.ComEmp;
import com.java.pojo.ComRole;

public interface IRoleService {
	public List<ComRole> getRoleList(int start,int row);
	public int getRolenum();
	public String addRoleLog(ComRole role);
	public String delRoleByIdLog(int[] idlist);
	public ComRole getRoleById(int id);
	public String editRoleLog(ComRole role);
	public String getDeptNameById(int deptno);
	public List<String> getRoleByEmpno(String empno);
	public ComEmp getEmpById(String empno);
	public List<ComRole> getRoleByType(int type);
	public String mappingLog(String empid, int[]type);
}
